package com.neu.carbon.mes.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 工厂建模对象 mes_factory_model
 *
 * @author neuedu
 * @date 2025-03-06
 */
@ApiModel("工厂建模")
public class MesFactoryModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("编号")
    @Excel(name = "编号")
    private Long id;

    /** 物料档案编号 */
    @ApiModelProperty("物料档案编号")
    @Excel(name = "物料档案编号")
    private Long materialId;

    /** 产品 */
    @ApiModelProperty("产品")
    @Excel(name = "产品")
    private String product;

    /** 型号 */
    @ApiModelProperty("型号")
    @Excel(name = "型号")
    private String model;

    /** 规格 */
    @ApiModelProperty("规格")
    @Excel(name = "规格")
    private String specification;

    /** 备注 */
    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    /** 生产线名称 */
    @ApiModelProperty("生产线名称")
    @Excel(name = "生产线名称")
    private String productLineName;

    /** 工厂建模明细信息 */
	@ApiModelProperty(hidden = true)
    private List<MesFactoryModelDetails> mesFactoryModelDetailsList;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId()
    {
        return materialId;
    }
    public void setProductLineName(String productLineName)
    {
        this.productLineName = productLineName;
    }

    public String getProductLineName()
    {
        return productLineName;
    }

    public List<MesFactoryModelDetails> getMesFactoryModelDetailList()
    {
        return mesFactoryModelDetailsList;
    }

    public void setMesFactoryModelDetailList(List<MesFactoryModelDetails> mesFactoryModelDetailsList)
    {
        this.mesFactoryModelDetailsList = mesFactoryModelDetailsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialId", getMaterialId())
            .append("productLineName", getProductLineName())
            .append("remark", getRemark())
            .append("mesFactoryModelDetailList", getMesFactoryModelDetailList())
            .toString();
    }
}
